<admintpl file="header" />
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:U('config/index')}">配置列表</a></li>
        <li class="active"><a href="{:U('config/add')}">添加配置</a></li>
    </ul>
    <form method="post" class="form-horizontal js-ajax-form">
        <fieldset>
            <div class="control-group" id="key">
                <label class="control-label">键值：</label>
                <div class="controls">
                    <input type="text" name="key" placeholder="键值:英文字符串" value="{$row.key}"/>
                </div>
            </div>
            <div class="control-group" id="question_reason">
                <label class="control-label">内容：</label>
                <div class="controls">
                    <textarea name="value" placeholder="错题原因,可以每个键值换一行" style="width: 510px;height: 180px;">{$row.value}</textarea>
                </div>
            </div>
            <div class="control-group" id="question_content">
                <label class="control-label">描述：</label>
                <div class="controls">
                    <textarea name="info" style="width: 510px;height: 120px;" placeholder="内容描述">{$row.info}</textarea>
                </div>
            </div>
        </fieldset>
        <div class="form-actions">
            <a class="btn" href="{:U('config/add')}">{:L('BACK')}</a>
            <button type="submit" class="btn btn-primary js-ajax-submit">保存</button>
        </div>
    </form>
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>